right to end the agreement